{// 引入标签库 }
<tagLib name="html" />
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>

<load href='__TMPL__Common/js/calendar/calendar.css' />
<load href='__TMPL__Common/js/calendar/calendar.js' />
<div class="main">
<div class="main_title">投资金额明细</div>
<div class="blank5"></div>

<div class="search_row">
	<form name="search" action="__APP__" method="get">	
		投资ID：<input type="text" class="textbox" name="id" value="{:trim($_REQUEST['id'])}" style="width:100px;" />
		投资人：<input type="text" class="textbox" name="user_name" value="{:trim($_REQUEST['user_name'])}" style="width:100px;" />
		借款标题：<input type="text" class="textbox" name="sub_name" value="{:trim($_REQUEST['sub_name'])}" style="width:100px;" />
		借款编号：<input type="text" class="textbox" name="deal_sn" value="{:trim($_REQUEST['deal_sn'])}" style="width:100px;" />
		投资状态: 
		<select name="is_has_loans">
				<option value="4" <if condition="intval($_REQUEST['is_has_loans']) eq 4" >selected="selected"</if>>{%ALL}</option>
				<option value="1" <if condition="intval($_REQUEST['is_has_loans']) eq 1">selected="selected"</if>>成功</option>
				<option value="2" <if condition="intval($_REQUEST['is_has_loans']) eq 2">selected="selected"</if>>冻结</option>
				<option value="3" <if condition="intval($_REQUEST['is_has_loans']) eq 3">selected="selected"</if>>失败</option>
		</select>
		
		<div class="blank5"></div>
		投资时间：
		<input type="text" class="textbox" name="begin_time" id="begin_time" value="{:trim($_REQUEST['begin_time'])}" onfocus="return showCalendar('begin_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_begin_time');" style="width:130px" />
		<input type="button" class="button" id="btn_begin_time" value="{%SELECT_TIME}" onclick="return showCalendar('begin_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_begin_time');" />	
		-
		<input type="text" class="textbox" name="end_time" id="end_time" value="{:trim($_REQUEST['end_time'])}" onfocus="return showCalendar('end_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_end_time');" style="width:130px" />
		<input type="button" class="button" id="btn_end_time" value="{%SELECT_TIME}" onclick="return showCalendar('end_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_end_time');" />	
		
		<input type="hidden" value="StatisticsBorrow" name="m" />
		<input type="hidden" value="tender_account_info" name="a" />
		<input type="submit" class="button" value="{%SEARCH}" />
    	
	</form>
</div>		
						
<div class="blank5"></div>
		
<html:list 
	id="dataTable" 
	style="dataTable" 
	name="deal" 
	
	datasource="list" 
	show="投资ID:投资ID
		,投资人:投资人
		,投资金额|format_price:投资金额
		,投资状态:投资状态
		,是否转让:是否转让
		,投资时间:投资时间
		,借款标题:借款标题
		,借款编号:借款编号
		,借款总额|format_price:借款总额
		,自动投标:自动投标
		"/>
			
<div class="blank5"></div>
<div class="page">{$page}</div>

</div>

<include file="Public:footer" />
